<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>

    <style>
        *{margin:0; padding:0}
        p{
            background-color: #ec6d71;
            color: #fff;
            text-align: center;
            line-height: 60px;
        }
    </style>
</head>
<body>
<p>这是一段文字</p>
</body>
</html>